package com.itheima.mapper;

import com.itheima.domain.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpMapper {
    List<Emp> findById(int id);

    List<Emp> dynamicFindById(@Param("id")int empno);

    List<Emp> findWithId(List<Integer> list);

    void update(@Param("name") String name,@Param("sal")double sal, @Param("gender")String sex,@Param("id")int empno);

}
